
body {  
    font-family: Arial, sans-serif;  
    margin: 0;  
    padding: 0;  
    display: flex;  
    justify-content: center;  
    align-items: center;  
    background: url('../images/z1.jpg') no-repeat center center fixed;
    background-size: 1500px 620px;   
}  
  
.registration-container {  
    text-align: left;  
    background-color: rgba(255, 255, 255, 0.8);   
    padding: 30px;  
    border-radius: 10px;  
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  
    max-width: 455px;   
    position: absolute; /* 绝对定位 */  
    right: 50px;   
    top: 50%;   
    transform: translateY(-50%); /* 向上移动自身高度的一半 */  
}  
  
h2 {   
    text-align: center;   
    color: #333;  
    margin-bottom: 20px;   
}  
form {  
    background-color: #fff;  
    padding: 20px;  
    border-radius: 5px;  
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  
    width: 400px;
    height: 350px;   
    transition: box-shadow 0.3s ease-in-out; 
}  
  
form:hover {  
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);  
} 
label {  
    font-weight: bold;  
    margin-bottom: 5px;  
}  
  
input {  
    width: 100%;  
    padding: 8px;  
    margin-bottom: 10px;  
    box-sizing: border-box;  
    border: 1px solid #ccc;  
    border-radius: 3px;  
}  
  
input[type="submit"] {  
    background-color: #007bff;  
    color: #fff;  
    border: none;  
    padding: 10px;  
    cursor: pointer;  
    width: 100%;  
    border-radius: 3px;  
    transition: background-color 0.3s ease-in-out;  
}  
  
input[type="submit"]:hover {  
    background-color: #0056b3;  
}  
  
.error {    
    color: red;    
    font-size: 12px;    
    display: none;    
    margin-top: 5px;    
}  
  
.form-footer {  
    text-align: right;  
    margin-top: 20px;   
}  
  
.login-link {  
    display: inline-block;  
    padding: 5px 5px;  
    text-decoration: none;  
    color: #984a70;  
    border-bottom: 1px solid transparent;  
    transition: border-bottom 0.3s ease, color 0.3s ease;  
}  
  
.login-link:hover {  
    border-bottom: 1px solid #f6087b;  
    color: #e71f86;  
}